/* 设计稿是的最大宽度是1280 所有需要修改 */
@media screen and (min-width:1280px) {
    .container {
        width: 1280px;
    }
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header {
    padding-left: 0 !important;
}

.logo {
    background-color: #429ad9;
}

.logo img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.header .logo span {
    font-size: 18px;
    color: #fff;
    text-align: center;
    padding: 12px 0;
}

.nav {
    background-color: #eeeeee;
    border-bottom: 1px solid #cccccc;
}

@media screen and (max-width:991px) {
    .nav ul li {
        float: left;
        width: 20%;
    }

    .nav {
        margin-bottom: 10px;
    }

}

@media screen and (max-width:767px) {
    .nav ul li a {
        font-size: 14px;
        padding: 0 3px;
    }

    .news ul li:nth-child(1) {
        width: 100%;
        height: 266px;
    }

    /* .news ul li:nth-child(1) img {
    width: 100%;
    height: 100% !important;
 }
    */

    .news ul li {
        width: 50%;
    }

    .publish h3 {
        font-size: 14px;


    }
}

.nav a {
    display: block;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    color: #666666;
    padding-left: 30px;

}

.nav a:hover {
    background-color: #ffffff;
    color: #333333;

}

a::before {
    vertical-align: middle;
    padding-right: 5px;
}

.news {
    height: 266px;


}

.news li {
    float: left;
    width: 25%;
    height: 128px;
    margin-bottom: 10px;
    padding-right: 10px;
}

.news li>a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.news li:nth-child(1) {
    width: 50%;
    height: 266px;
    padding-right: 10px;
}

.carousel,
.carousel img {
    width: 100%;
    height: 266px !important;

}

.news li:nth-child(1) p {
    font-size: 20px;
    height: 41px;

}

.news li a img {
    width: 100%;
    height: 100%;
}

.news li a p,
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    color: #fcfcfc;
    font-size: 12px;
    width: 100%;
    height: 41px;
    padding: 5px 10px;
    margin-bottom: 0;
}
.carousel-caption {
    text-align: center;
    height: 41px;line-height: 41px;
    font-size: 16px;
    padding: 0;

}

.publish {
    border-top: 1px solid #ccc;
    margin-top: 10px;

}

.publish .row {
    border-bottom: 1px solid #ccc;
}

.publish h3 {
    padding-top: 10px;
}

.publish span {
    /* 行内元素不转块 只能给左右边距 想给上下边距得转块 */
    display: inline-block;
    padding-bottom: 15px;
}

.publish img {
    padding-top: 20px;
    width: 100%;
}

.banner img {
    width: 100%;
}

.aside .hot {
    display: block;
    border: 1px solid #ccc;
    margin-top: 20px;
    padding: 0 20px;
}

.hot span {
    border-radius: 0;
    margin-bottom: 20px;
}

.hot p {
    font-size: 12px;
    padding-bottom: 20px;
}